export const commonMixin = {
  methods: {
    updateLocalStorageUser({password, ...remainProperties}) {
      // 更新currentUser
      localStorage.setItem("current-user", JSON.stringify(remainProperties));
      this.$store.dispatch('modifyCurrentUser');
    }
  }
}